---@class GT.debugging 调试
GT.debugging=class()

--- (调试)绘制网格线
---@param role Role 玩家
---@param start_x Float 起点x
---@param start_y Float 起点y
---@param height Float 高度
---@param space Float 间距
---@param line_count Int32 线数
---@param r Int32 r
---@param g Int32 g
---@param b Int32 b
function GT.debugging.draw_grid_polyline(role,start_x,start_y,height,space,line_count,r,g,b)
    game_api.draw_grid_polyline(role,start_x,start_y,height,space,line_count,r,g,b)
end

--- (调试)绘线
---@param point_list List 点
---@param height Float 高度
---@param r Int32 r
---@param g Int32 g
---@param b Int32 b
---@return Int32
function GT.debugging.draw_polyline(point_list,height,r,g,b)
    game_api.draw_polyline(point_list,height,r,g,b)
end

--- (调试)绘制矩形
---@param point_list List 点
function GT.debugging.draw_box(point_list)
    game_api.draw_box(point_list)
end

--- (调试)隐藏所有矩形
function GT.debugging.hide_all_rect()
    game_api.hide_all_rect()
end

--- (调试)清除调试绘线
---@param index Int32 索引
function GT.debugging.clear_grid_polyline(index)
    game_api.clear_grid_polyline(index)
end

--- (调试)设置billboard字体大小
---@param role Role 玩家
---@param size Int32 大小
function GT.debugging.set_billboard_font_size(role,size)
    game_api.set_billboard_font_size(role,size)
end